package com.sokal.easycare.modules.clue.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.sokal.easycare.common.persistence.DataEntity;

/**
 * 项目线索Entity
 * @author liliangdong
 * @version 2017-04-04
 */
public class ProjectClue extends DataEntity<ProjectClue> {
	
	private static final long serialVersionUID = 1L;
	private String telephone;		// 联系人电话
	private Date beginCreateDate;		// 开始 创建日期
	private Date endCreateDate;		// 结束 创建日期
	
	public ProjectClue() {
		super();
	}

	public ProjectClue(String id){
		super(id);
	}

	@Length(min=1, max=20, message="联系人电话长度必须介于 1 和 20 之间")
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}
	
	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
		
}